package com.guide.spzx.manager.mapper;

import com.guide.spzx.model.dto.product.ProductDto;
import com.guide.spzx.model.entity.product.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Auther: fengyj
 * @Date: 2023/11/5
 * @Description: IntelliJ IDEA
 * @version:
 */
@Mapper
public interface ProductMapper {
    public abstract List<Product> findByPage(ProductDto productDto);

    public abstract void save(Product product);

    public abstract Product selectById(Long id);

    public abstract  void updateById(Product product);

    public abstract void deleteById(Long id);
}
